package com.shoux.api.web.entity.apiData;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 企业风险关注名单
 * </p>
 *
 * @author xiaoZhi
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("zb_as_qyfxgzmd")
@ApiModel(value="ZbAsQyfxgzmdEntity对象", description="企业风险关注名单")
public class ZbAsQyfxgzmdEntity extends Model<ZbAsQyfxgzmdEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序列号")
    @TableId(value = "SERIALNO", type = IdType.AUTO)
    private String serialno;

    @ApiModelProperty(value = "企业名称")
    @TableField("ENTNAME")
    private String entname;

    @ApiModelProperty(value = "证件号码")
    @TableField("entCerNo")
    private String entcerno;

    @ApiModelProperty(value = "证件类型")
    @TableField("entCerType")
    private String entcertype;

    @ApiModelProperty(value = "名单名称")
    @TableField("listName")
    private String listname;

    @ApiModelProperty(value = "名单类别")
    @TableField("listType")
    private String listtype;

    @ApiModelProperty(value = "列入原因")
    @TableField("listInReason")
    private String listinreason;

    @ApiModelProperty(value = "列入日期")
    @TableField("listInDate")
    private String listindate;

    @ApiModelProperty(value = "列入部门")
    @TableField("listInRegOrg")
    private String listinregorg;

    @ApiModelProperty(value = "移出原因")
    @TableField("listOutReason")
    private String listoutreason;

    @ApiModelProperty(value = "移出日期")
    @TableField("listOutDate")
    private String listoutdate;

    @ApiModelProperty(value = "移出部门")
    @TableField("listOutRegOrg")
    private String listoutregorg;

    @ApiModelProperty(value = "公示日期")
    @TableField("publicDate")
    private String publicdate;

    @ApiModelProperty(value = "名单状态")
    @TableField("listStatus")
    private String liststatus;

    @ApiModelProperty(value = "备注")
    private String remark;


    @Override
    protected Serializable pkVal() {
        return this.serialno;
    }

}
